package com.hsteach.web.controller.patrol.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NonNull;

import javax.validation.constraints.NotNull;

/**
 * <p>
 *
 * </p>
 *
 * @author mgb
 * @version BehaviorCategoryDTO, java v1.0 2023-11-14 22:12 EXP $
 */
@ApiModel(description = "行为分类")
@Data
public class BehaviorCategoryDTO {

    @ApiModelProperty(value = "id")
    private int id;

    @ApiModelProperty(value = "一级分类名称" )
    @NotNull(message = "分类名称不能为空！")
    private String firstCategory;

    @ApiModelProperty(value = "二级分类名称" )
    @NotNull(message = "分类名称不能为空！")
    private String secondCategory;

    @ApiModelProperty(value = "层级分类  0:添加同级 1：添加子集" )
    private int cateGoryType;

    @ApiModelProperty(value = "序列編號" )
    private int sort;

    @ApiModelProperty(value = "组织编码")
    private String orgCode;
}
